Skip to content

Update Rust toolchains to nightly-2026-05-27#8682

Open
hash-worker[bot] wants to merge 5 commits into
mainfrom
deps/rs/rust-toolchains
Open

Update Rust toolchains to nightly-2026-05-27#8682
hash-worker[bot] wants to merge 5 commits into
mainfrom
deps/rs/rust-toolchains

Conversation

@hash-worker
Copy link
Copy Markdown
Contributor

@hash-worker hash-worker Bot commented Apr 30, 2026

This PR contains the following updates:

Package Update Change
rust patch 2026-04-132026-05-27

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 11am"
  • Automerge
    • "before 4am every weekday,every weekend"

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@hash-worker hash-worker Bot enabled auto-merge April 30, 2026 11:32
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview, Comment May 27, 2026 8:04am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
hashdotdesign-tokens Ignored Ignored Preview May 27, 2026 8:04am
petrinaut Skipped Skipped Comment May 27, 2026 8:04am

@cursor
Copy link
Copy Markdown

cursor Bot commented Apr 30, 2026

PR Summary

Low Risk
Toolchain and style/syntax alignment only; no intentional behavior or API changes beyond compiler compatibility.

Overview
Bumps the workspace Rust toolchain from nightly-2026-04-13 to nightly-2026-05-27 and applies follow-on fixes so the repo still builds and satisfies updated Clippy.

Most edits are mechanical: impl constconst impl for trait implementations across HashQL (diagnostics, MIR, core IDs), pub const fn on simple accessors (graph slices, MIR terminators, bit matrices), and std::iocore::io where crates use alloc/no_std paths, gated with the core_io feature on harpc, compiletest, repo-chores, and eval tests. HaRPC wire codec buffer I/O and compiletest harness/tests move Cursor/ErrorKind to core accordingly.

Smaller cleanups include debug_assert_eq! in symbol repr, dropping a redundant & in property-type error attachments and bench upload paths, {out_dir} in a build script eprintln!, and workspace Clippy allow entries for inline_modules and inline_trait_bounds. error-stack crate docs/badges reflect the new nightly pin.

Reviewed by Cursor Bugbot for commit aea312b. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions github-actions Bot added area/deps Relates to third-party dependencies (area) area/infra Relates to version control, CI, CD or IaC (area) area/libs > error-stack Affects the `error-stack` crate (library) area/libs Relates to first-party libraries/crates/packages (area) labels Apr 30, 2026
@augmentcode
Copy link
Copy Markdown

augmentcode Bot commented Apr 30, 2026

🤖 Augment PR Summary

Summary: Updates the repo Rust toolchain to nightly-2026-04-27 (from nightly-2026-04-13).

Changes: Aligns rust-toolchain.toml and the error-stack Rust version badges/documentation headers to reference the new nightly snapshot.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

TimDiekmann
TimDiekmann previously approved these changes Apr 30, 2026
Copy link
Copy Markdown
Member

@TimDiekmann TimDiekmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should finally fix the bug about incremental compilation.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

❌ Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 59.04%. Comparing base (eff686d) to head (aea312b).

Files with missing lines Patch % Lines
libs/@local/hashql/core/src/graph/linked.rs 50.00% 1 Missing ⚠️
libs/@local/hashql/mir/src/body/terminator/mod.rs 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8682   +/-   ##
=======================================
  Coverage   59.04%   59.04%           
=======================================
  Files        1340     1340           
  Lines      129323   129321    -2     
  Branches     5839     5839           
=======================================
- Hits        76360    76359    -1     
+ Misses      52062    52061    -1     
  Partials      901      901           
Flag Coverage Δ
apps.hash-ai-worker-ts 1.41% <ø> (ø)
apps.hash-api 0.00% <ø> (ø)
blockprotocol.type-system 40.84% <ø> (ø)
local.hash-backend-utils 2.81% <ø> (ø)
local.hash-graph-sdk 9.63% <ø> (ø)
local.hash-isomorphic-utils 0.00% <ø> (ø)
rust.harpc-net 96.18% <ø> (-0.02%) ⬇️
rust.harpc-tower 67.03% <ø> (ø)
rust.hash-codec 72.76% <ø> (ø)
rust.hash-graph-api 2.52% <ø> (ø)
rust.hash-graph-authorization 62.34% <ø> (ø)
rust.hash-graph-postgres-store 26.75% <ø> (+<0.01%) ⬆️
rust.hash-graph-store 37.76% <ø> (ø)
rust.hash-graph-temporal-versioning 47.95% <ø> (ø)
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 83.45% <ø> (ø)
rust.hashql-ast 87.23% <ø> (ø)
rust.hashql-compiletest 28.26% <ø> (ø)
rust.hashql-core 79.32% <80.00%> (ø)
rust.hashql-diagnostics 72.53% <100.00%> (ø)
rust.hashql-eval 75.77% <ø> (ø)
rust.hashql-hir 89.06% <ø> (ø)
rust.hashql-mir 86.80% <85.71%> (ø)
rust.hashql-syntax-jexpr 94.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 30, 2026

Merging this PR will degrade performance by 11.68%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
❌ 5 (👁 5) regressed benchmarks
✅ 74 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
👁 pattern_match_constant 209.2 ns 180 ns +16.2%
👁 bit_matrix/dense/transitive_closure[16] 4.8 µs 6 µs -19.21%
👁 bit_matrix/dense/transitive_closure[200] 754.4 µs 907.1 µs -16.83%
👁 bit_matrix/dense/transitive_closure[64] 56.4 µs 71 µs -20.53%
👁 bit_matrix/sparse/union_rows[200] 12.1 µs 13.8 µs -12.94%
👁 bit_matrix/sparse/union_rows[64] 3.9 µs 4.5 µs -12.16%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing deps/rs/rust-toolchains (aea312b) with main (eff686d)

Open in CodSpeed

@TimDiekmann
Copy link
Copy Markdown
Member

@copilot fix the linting issues

Agent-Logs-Url: https://github.com/hashintel/hash/sessions/ef84b90d-bb07-4ff6-a47f-52ffd18f8e37

Co-authored-by: TimDiekmann <21277928+TimDiekmann@users.noreply.github.com>
auto-merge was automatically disabled April 30, 2026 12:18

Head branch was pushed to by a user without write access

@vercel vercel Bot temporarily deployed to Preview – petrinaut April 30, 2026 12:18 Inactive
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 30, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown

Copilot AI commented Apr 30, 2026

@copilot fix the linting issues

Fixed in commit 2f0d2b8. The changes address 4 clippy warnings introduced by the new nightly:

  • clippy::missing_const_for_fn: Added const to targets, targets_mut, and values in hashql/mir/src/body/terminator/switch_int.rs, and to as_slice in hashql/diagnostics/src/diagnostic/label.rs
  • clippy::std_instead_of_core: Changed std::io::ErrorKind to core::io::ErrorKind in harpc/net/src/session/server/test.rs and repo-chores/rust/src/sync_turborepo/mod.rs

TimDiekmann
TimDiekmann previously approved these changes Apr 30, 2026
@TimDiekmann TimDiekmann enabled auto-merge April 30, 2026 12:21
@github-actions github-actions Bot added the type/eng > backend Owned by the @backend team label Apr 30, 2026
@github-actions github-actions Bot dismissed stale reviews from TimDiekmann and TimDiekmann April 30, 2026 12:21
TimDiekmann
TimDiekmann previously approved these changes Apr 30, 2026
Comment thread libs/@local/harpc/net/src/session/server/test.rs Fixed
Comment thread libs/@local/repo-chores/rust/src/sync_turborepo/mod.rs Fixed
Comment thread libs/@local/repo-chores/rust/src/sync_turborepo/mod.rs Fixed
@TimDiekmann
Copy link
Copy Markdown
Member

Copilot missed half of the stuff, great. Very useful.

indietyp
indietyp previously approved these changes Apr 30, 2026
@hash-worker
Copy link
Copy Markdown
Contributor Author

hash-worker Bot commented May 4, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@indietyp indietyp force-pushed the deps/rs/rust-toolchains branch from 2f0d2b8 to 2706a3d Compare May 27, 2026 07:39
@github-actions github-actions Bot added the area/tests New or updated tests label May 27, 2026
@indietyp indietyp changed the title Update Rust toolchains to nightly-2026-04-27 Update Rust toolchains to nightly-2026-05-27 May 27, 2026
Copy link
Copy Markdown
Member

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2706a3d. Configure here.

Comment thread libs/@local/codec/src/serde/mod.rs Outdated
@github-actions
Copy link
Copy Markdown
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

policy_resolution_large

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2002 $$26.5 \mathrm{ms} \pm 168 \mathrm{μs}\left({\color{gray}-1.263 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.41 \mathrm{ms} \pm 23.8 \mathrm{μs}\left({\color{gray}0.143 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1001 $$12.0 \mathrm{ms} \pm 97.8 \mathrm{μs}\left({\color{gray}-0.930 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$42.6 \mathrm{ms} \pm 369 \mathrm{μs}\left({\color{gray}1.02 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$13.7 \mathrm{ms} \pm 114 \mathrm{μs}\left({\color{gray}0.970 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1526 $$23.0 \mathrm{ms} \pm 203 \mathrm{μs}\left({\color{gray}-1.762 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$27.6 \mathrm{ms} \pm 194 \mathrm{μs}\left({\color{gray}-2.255 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.72 \mathrm{ms} \pm 25.7 \mathrm{μs}\left({\color{gray}0.498 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$13.0 \mathrm{ms} \pm 108 \mathrm{μs}\left({\color{gray}-2.846 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.77 \mathrm{ms} \pm 25.3 \mathrm{μs}\left({\color{gray}-0.382 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.95 \mathrm{ms} \pm 13.8 \mathrm{μs}\left({\color{gray}-1.481 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 51 $$3.32 \mathrm{ms} \pm 19.3 \mathrm{μs}\left({\color{gray}-0.989 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.15 \mathrm{ms} \pm 27.2 \mathrm{μs}\left({\color{gray}-0.434 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.51 \mathrm{ms} \pm 21.2 \mathrm{μs}\left({\color{gray}-1.947 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 107 $$4.11 \mathrm{ms} \pm 20.6 \mathrm{μs}\left({\color{gray}-1.701 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.43 \mathrm{ms} \pm 29.9 \mathrm{μs}\left({\color{gray}-1.118 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.39 \mathrm{ms} \pm 21.0 \mathrm{μs}\left({\color{gray}-2.761 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.14 \mathrm{ms} \pm 24.2 \mathrm{μs}\left({\color{gray}2.54 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.70 \mathrm{ms} \pm 19.7 \mathrm{μs}\left({\color{gray}-0.038 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.63 \mathrm{ms} \pm 14.6 \mathrm{μs}\left({\color{gray}-0.975 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1 $$2.75 \mathrm{ms} \pm 15.0 \mathrm{μs}\left({\color{gray}-0.495 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$3.00 \mathrm{ms} \pm 16.0 \mathrm{μs}\left({\color{gray}-0.772 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.82 \mathrm{ms} \pm 13.7 \mathrm{μs}\left({\color{gray}0.193 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$3.10 \mathrm{ms} \pm 15.6 \mathrm{μs}\left({\color{gray}-0.516 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.05 \mathrm{ms} \pm 15.9 \mathrm{μs}\left({\color{gray}-0.919 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.76 \mathrm{ms} \pm 13.0 \mathrm{μs}\left({\color{gray}-0.121 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 25 $$2.91 \mathrm{ms} \pm 11.9 \mathrm{μs}\left({\color{gray}-1.169 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.48 \mathrm{ms} \pm 17.3 \mathrm{μs}\left({\color{gray}-0.884 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.02 \mathrm{ms} \pm 17.4 \mathrm{μs}\left({\color{gray}0.257 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 26 $$3.22 \mathrm{ms} \pm 15.7 \mathrm{μs}\left({\color{gray}-1.901 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.43 \mathrm{ms} \pm 20.3 \mathrm{μs}\left({\color{gray}0.419 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.98 \mathrm{ms} \pm 13.9 \mathrm{μs}\left({\color{gray}-1.817 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.30 \mathrm{ms} \pm 18.4 \mathrm{μs}\left({\color{gray}-1.463 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$44.2 \mathrm{ms} \pm 194 \mathrm{μs}\left({\color{gray}-0.691 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$81.6 \mathrm{ms} \pm 378 \mathrm{μs}\left({\color{gray}-0.396 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$48.6 \mathrm{ms} \pm 271 \mathrm{μs}\left({\color{gray}-1.612 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$52.4 \mathrm{ms} \pm 425 \mathrm{μs}\left({\color{gray}0.720 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$61.1 \mathrm{ms} \pm 294 \mathrm{μs}\left({\color{gray}1.42 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$45.3 \mathrm{ms} \pm 142 \mathrm{μs}\left({\color{gray}-2.322 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$424 \mathrm{ms} \pm 971 \mathrm{μs}\left({\color{gray}-0.635 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$101 \mathrm{ms} \pm 410 \mathrm{μs}\left({\color{gray}0.633 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$90.6 \mathrm{ms} \pm 461 \mathrm{μs}\left({\color{gray}0.295 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$287 \mathrm{ms} \pm 680 \mathrm{μs}\left({\color{gray}-0.750 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$19.2 \mathrm{ms} \pm 92.1 \mathrm{μs}\left({\color{gray}-0.819 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$19.8 \mathrm{ms} \pm 98.7 \mathrm{μs}\left({\color{gray}-0.454 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$19.7 \mathrm{ms} \pm 99.9 \mathrm{μs}\left({\color{gray}-0.395 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$19.7 \mathrm{ms} \pm 105 \mathrm{μs}\left({\color{gray}-0.940 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$23.9 \mathrm{ms} \pm 103 \mathrm{μs}\left({\color{gray}-0.371 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$19.2 \mathrm{ms} \pm 96.7 \mathrm{μs}\left({\color{gray}0.741 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$19.1 \mathrm{ms} \pm 85.3 \mathrm{μs}\left({\color{gray}-0.385 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$19.2 \mathrm{ms} \pm 102 \mathrm{μs}\left({\color{gray}0.398 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$19.5 \mathrm{ms} \pm 95.6 \mathrm{μs}\left({\color{gray}-3.130 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$26.0 \mathrm{ms} \pm 193 \mathrm{μs}\left({\color{gray}2.89 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$33.4 \mathrm{ms} \pm 296 \mathrm{μs}\left({\color{gray}-1.828 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$33.5 \mathrm{ms} \pm 287 \mathrm{μs}\left({\color{gray}0.352 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$33.4 \mathrm{ms} \pm 299 \mathrm{μs}\left({\color{gray}-0.749 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$35.1 \mathrm{ms} \pm 280 \mathrm{μs}\left({\color{red}6.33 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$33.4 \mathrm{ms} \pm 267 \mathrm{μs}\left({\color{gray}-0.472 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$35.0 \mathrm{ms} \pm 292 \mathrm{μs}\left({\color{gray}0.183 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$35.1 \mathrm{ms} \pm 287 \mathrm{μs}\left({\color{gray}4.40 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$33.8 \mathrm{ms} \pm 294 \mathrm{μs}\left({\color{gray}1.18 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$35.7 \mathrm{ms} \pm 311 \mathrm{μs}\left({\color{red}8.42 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: bf5a9ef5-dc3b-43cf-a291-6210c0321eba $$8.38 \mathrm{ms} \pm 44.6 \mathrm{μs}\left({\color{gray}-0.575 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$91.3 \mathrm{ms} \pm 421 \mathrm{μs}\left({\color{gray}0.067 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$143 \mathrm{ms} \pm 548 \mathrm{μs}\left({\color{gray}0.443 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$98.5 \mathrm{ms} \pm 530 \mathrm{μs}\left({\color{gray}0.021 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$107 \mathrm{ms} \pm 477 \mathrm{μs}\left({\color{gray}0.169 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$115 \mathrm{ms} \pm 503 \mathrm{μs}\left({\color{gray}-0.216 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$122 \mathrm{ms} \pm 478 \mathrm{μs}\left({\color{gray}-0.588 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$99.4 \mathrm{ms} \pm 432 \mathrm{μs}\left({\color{gray}-0.925 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$127 \mathrm{ms} \pm 463 \mathrm{μs}\left({\color{gray}0.280 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$106 \mathrm{ms} \pm 453 \mathrm{μs}\left({\color{gray}-0.178 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$115 \mathrm{ms} \pm 462 \mathrm{μs}\left({\color{gray}-0.220 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$117 \mathrm{ms} \pm 526 \mathrm{μs}\left({\color{gray}-0.005 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$117 \mathrm{ms} \pm 487 \mathrm{μs}\left({\color{gray}0.227 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$142 \mathrm{ms} \pm 592 \mathrm{μs}\left({\color{gray}0.296 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$151 \mathrm{ms} \pm 516 \mathrm{μs}\left({\color{gray}-1.018 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$104 \mathrm{ms} \pm 614 \mathrm{μs}\left({\color{red}158 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$554 \mathrm{ms} \pm 3.31 \mathrm{ms}\left({\color{gray}-1.016 \mathrm{\%}}\right) $$ Flame Graph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/deps Relates to third-party dependencies (area) area/infra Relates to version control, CI, CD or IaC (area) area/libs > error-stack Affects the `error-stack` crate (library) area/libs Relates to first-party libraries/crates/packages (area) area/tests New or updated tests type/eng > backend Owned by the @backend team

Development

Successfully merging this pull request may close these issues.

5 participants